import React, {Component,Fragment} from 'react';
import {Provider} from 'react-redux'
import {store} from './store'
import Loading from '@/components/Loading'
import Intl from '@/components/Intl'

class App extends Component {
    render() {
        return (
            <Provider store={store}>
                <Intl>
                    <Fragment>
                        {this.props.children}
                        <Loading></Loading>
                    </Fragment>
                </Intl>
            </Provider>
        );
    }
}

export default App;
